<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="<%= htmlWebpackPlugin.options.baseUrl %>favicon.ico">
    <title><%= htmlWebpackPlugin.options.title %></title>
    <% if (!htmlWebpackPlugin.options.isDev) { %>
    <script src="/auth/env-config.js"></script>
    <% } else { %>
    <script>
        window._env_ = {
            COOKIE_TOKEN_KEY: "dev_access_token",
            COOKIE_TOKENTYPE_KEY: "dev_token_type"
        }
    </script>
    <% } %>
    <script>
      window._CONFIG = {};
      window._CONFIG['domianURL'] = 'https://dev.iiot.hxct.com/fx-platform';
      window._CONFIG['casPrefixUrl'] = 'http://cas.example.org:8443/cas';
      window._CONFIG['onlinePreviewDomainURL'] = 'http://fileview.jeecg.com/onlinePreview'
      window._CONFIG['staticDomainURL'] = window._CONFIG['domianURL'] + '/sys/common/static';
      window._CONFIG['pdfDomainURL'] =  window._CONFIG['domianURL'] + '/sys/common/pdf/pdfPreviewIframe';
    </script>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <script src="<%= htmlWebpackPlugin.options.baseUrl %>vendor/vendor.dll.js"></script>
    <!-- built files will be auto injected -->
  </body>
</html>
